#include <Box2D.h>
#include "common.h"
#include "b2Block.h"

#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jint JNICALL Java_b2Block_jni_1b2Block
  (JNIEnv *env, jclass cls)
{
	b2Block* blk = new b2Block();
	return (jint)blk;
}

JNIEXPORT void JNICALL Java_b2Block_jni_1b2Block_1release
  (JNIEnv *, jclass cls, jint me)
{
	b2Block* blk = (b2Block*)me;
	delete blk;
}

#ifdef __cplusplus
}
#endif
